package top.yxqz.el.domain;

/**
 * @author Mr.余
 * @date 2022/12/1
 * @package top.yxqz.el.domain
 *
 * 图书类型的实体类
 */
public class BookType {
    private String typeName; //类型名称
    private String typeDesc;//类型描述

    public BookType() {
    }

    public BookType(String typeName, String typeDesc) {
        this.typeName = typeName;
        this.typeDesc = typeDesc;
    }

    /**
     * 获取
     * @return typeName
     */
    public String getTypeName() {
        return typeName;
    }

    /**
     * 设置
     * @param typeName
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    /**
     * 获取
     * @return typeDesc
     */
    public String getTypeDesc() {
        return typeDesc;
    }

    /**
     * 设置
     * @param typeDesc
     */
    public void setTypeDesc(String typeDesc) {
        this.typeDesc = typeDesc;
    }

    public String toString() {
        return "BookeType{typeName = " + typeName + ", typeDesc = " + typeDesc + "}";
    }
}
